package io;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.nio.charset.StandardCharsets;

public class OSWDemo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("sss.txt");
        OutputStreamWriter osw=new OutputStreamWriter(fos, StandardCharsets.UTF_8);
        osw.write("简单点");
        osw.write("说话的方式简单点");
        osw.write("递进的情绪请省略");
        osw.write("你又不是个演员");
        System.out.println("已经ok");
        osw.close();
    }
}
